<div>

    <h3>请先登入</h3>

    <!-- input starts -->
    <div class="row">
        <div class="col-md-12">
            <form>
                <div class="row">
                    <div class="col-md-6">
                        <div class="input-group">
                            <span class="input-group-addon">UserName</span>
                            <input type="text" ng-model="username" class="form-control" placeholder="input user name" required>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6">
                        <div class="input-group">
                            <span class="input-group-addon">Password</span>
                            <input type="password" ng-model="password" class="form-control" placeholder="input your password" ng-keypress="enter($event, username, password)" required>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6">
                        <input type="button" value="login" ng-click="execute(username, password)" class="btn btn-primary"/>
                        <hr />
                    </div>
                </div>
            </form>
        </div>
    </div>
    <!-- input ends -->
</div>